/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.area_info_yesterday.service;

import java.util.List;

import com.thinkgem.jeesite.modules.area_info.entity.AreaInfo;
import com.thinkgem.jeesite.modules.area_info_his.entity.AreaInfoHis;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.area_info_yesterday.entity.AreaInfoYesterday;
import com.thinkgem.jeesite.modules.area_info_yesterday.dao.AreaInfoYesterdayDao;

/**
 * 前一天车位信息Service
 * @author admin
 * @version 2019-04-11
 */
@Service
@Transactional(readOnly = true)
public class AreaInfoYesterdayService extends CrudService<AreaInfoYesterdayDao, AreaInfoYesterday> {

	@Autowired
	private AreaInfoYesterdayDao areaInfoYesterdayDao;

	public AreaInfoYesterday get(String id) {
		return super.get(id);
	}
	
	public List<AreaInfoYesterday> findList(AreaInfoYesterday areaInfoYesterday) {
		return super.findList(areaInfoYesterday);
	}
	
	public Page<AreaInfoYesterday> findPage(Page<AreaInfoYesterday> page, AreaInfoYesterday areaInfoYesterday) {
		return super.findPage(page, areaInfoYesterday);
	}
	
	@Transactional(readOnly = false)
	public void save(AreaInfoYesterday areaInfoYesterday) {
		super.save(areaInfoYesterday);
	}
	
	@Transactional(readOnly = false)
	public void delete(AreaInfoYesterday areaInfoYesterday) {
		super.delete(areaInfoYesterday);
	}

	public List<AreaInfoYesterday> findDayList(AreaInfo areaInfo) {
		return areaInfoYesterdayDao.findDayList(areaInfo);
	}
}